#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <cstdio>

using namespace std;
const int N = 15;

double a[N], b[N], c[N], ans[N], res[N];
int main()
{
    for (int i = 1; i <= 12; i++)
        cin >> a[i];
    for (int i = 1; i <= 12; i++)
        cin >> b[i];
    for (int i = 1; i <= 12; i++)
        cin >> c[i];
    for (int i = 1; i <= 12; i++)
        ans[i] = 1.0 - (1 - a[i]) * (1 - b[i]) * (1 - c[i]);

    for (int i = 0; i <= (1 << 12); i++)
    {
        double temp = 1.0;
        int cnt = 0;
        for (int j = 0; j < 12; j++)
        {
            if (i & 1 << j)
            {
                temp *= ans[j];
                cnt++;
            }
            else temp *= (1 - ans[j]);
        }
        res[i] = temp;
    }
    for (int i = 0; i < 12; i++)
        printf("%.6lf\n", res[i]);
    return 0;
}